-- GENERATED SPELL FOR [Rageclaw Berserker] --


function spell0_29437(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(50420,pUnit)
pUnit:RegisterEvent('Sorts_29437', 617, 1)
end

function Sorts_29437(pUnit, Event)
local choix_sorts_29437 = math.random(0, 0)
if choix_sorts_29437 == 0 then
pUnit:RegisterEvent('spell0_29437', 1, 1)
end
end

function mob29437_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29437', math.random(1500, 3000), 1)
end

function mob29437_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29437_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29437_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29437, 1, 'mob29437_Action')
RegisterUnitEvent(29437, 2, 'mob29437_Leave')
RegisterUnitEvent(29437, 3, 'mob29437_Kill')
RegisterUnitEvent(29437, 4, 'mob29437_Die')
